<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Whisper: ui_constants.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Whisper
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">ui_constants.h</div>  </div>
</div>
<div class="contents">
<a href="ui__constants_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __UI_COMMANDS_H__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __UI_COMMANDS_H__ 1</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a><a class="code" href="ui__constants_8h.html#a5dd219e2df871a3349f917c217097103">00004</a> <span class="preprocessor">#define DEFAULT_UI_PORT 8960</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span>
<a name="l00006"></a>00006 <span class="comment">/* duplex-commands defined here</span>
<a name="l00007"></a>00007 <span class="comment"> * interpretation up to the using part</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> */</span>
<a name="l00010"></a>00010 
<a name="l00011"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6b">00011</a> <span class="keyword">enum</span> <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6b">ECommandId</a> {
<a name="l00019"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba7bd0d74141b3ef7d4c11acf5aca5575e">00019</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba7bd0d74141b3ef7d4c11acf5aca5575e">COMMAND_CLOSE_CONNECTION</a> = 1,
<a name="l00020"></a>00020 
<a name="l00026"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba36aba2cfdb609d2f1cb2bfcab7a9aa94">00026</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba36aba2cfdb609d2f1cb2bfcab7a9aa94">COMMAND_START</a>,
<a name="l00027"></a>00027 
<a name="l00033"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba21c9fad5137972f7ed9d833d351f5896">00033</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba21c9fad5137972f7ed9d833d351f5896">COMMAND_TRANSMIT_CONFIG</a>,
<a name="l00034"></a>00034 
<a name="l00040"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba753c2ef8e5efa8de4acd499c5af90477">00040</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba753c2ef8e5efa8de4acd499c5af90477">COMMAND_TRANSMIT_CONFIG_START</a>,
<a name="l00041"></a>00041 
<a name="l00047"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba0121a329af86a320ba93258cee71a592">00047</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba0121a329af86a320ba93258cee71a592">COMMAND_TRANSMIT_CONFIG_END</a>,
<a name="l00048"></a>00048 
<a name="l00054"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba5e17e3f82b24dc0683aa81b083374568">00054</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba5e17e3f82b24dc0683aa81b083374568">COMMAND_RECEIVE_CONFIG_START</a>,
<a name="l00055"></a>00055 
<a name="l00061"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6baaa6ab01a9670eabdc740993c174c851e">00061</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6baaa6ab01a9670eabdc740993c174c851e">COMMAND_RECEIVE_CONFIG_END</a>,
<a name="l00062"></a>00062 
<a name="l00068"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba11dc476a10978cc2d6ba2e39230f3146">00068</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba11dc476a10978cc2d6ba2e39230f3146">COMMAND_RECEIVE_CONFIG_SECTION</a>,
<a name="l00069"></a>00069 
<a name="l00075"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6babd24e957c08fe262c41cc0b16d1c9a62">00075</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6babd24e957c08fe262c41cc0b16d1c9a62">COMMAND_RECEIVE_CONFIG_KEY</a>,
<a name="l00076"></a>00076 
<a name="l00084"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bac1aa9eea59e219a2fb9eb663a9962dea">00084</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bac1aa9eea59e219a2fb9eb663a9962dea">COMMAND_TRANSMIT_INFO</a>,
<a name="l00085"></a>00085 
<a name="l00093"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba10117692357b5571a6100b40fbd59fb4">00093</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba10117692357b5571a6100b40fbd59fb4">COMMAND_EXTRACT_BUFFER_INFO</a>,
<a name="l00094"></a>00094 
<a name="l00100"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6baf16c0c92df8bf204f44589a575fe3dce">00100</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6baf16c0c92df8bf204f44589a575fe3dce">COMMAND_FRAME_SEND_LENGTH</a>,
<a name="l00101"></a>00101 
<a name="l00108"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba82bc3baa7df3adb5feb7139813ee55dd">00108</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba82bc3baa7df3adb5feb7139813ee55dd">COMMAND_FRAME_RECV_LENGTH</a>,
<a name="l00109"></a>00109 
<a name="l00115"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba76a5caa1f33c81e17b3f9172ac2ff114">00115</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba76a5caa1f33c81e17b3f9172ac2ff114">COMMAND_PACKET_SEND_LENGTH</a>,
<a name="l00116"></a>00116 
<a name="l00123"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba240516af0b99887525529d9aa261165d">00123</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba240516af0b99887525529d9aa261165d">COMMAND_PACKET_RECV_LENGTH</a>,
<a name="l00124"></a>00124 
<a name="l00129"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bae4447bfe5a821dda41704918e202af4f">00129</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bae4447bfe5a821dda41704918e202af4f">COMMAND_STREAM_SEND_INFO</a>,
<a name="l00130"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba20b3e8625f03357ad6ae7ad8a451c62e">00130</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba20b3e8625f03357ad6ae7ad8a451c62e">COMMAND_STREAM_RECV_INFO</a>,
<a name="l00131"></a>00131 
<a name="l00139"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6baf8325b26dc4443d8b34907010781a98b">00139</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6baf8325b26dc4443d8b34907010781a98b">COMMAND_STREAM_SEND_DATA</a>,
<a name="l00140"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba7b4a943e47cf55e68555c95f386f7f0a">00140</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba7b4a943e47cf55e68555c95f386f7f0a">COMMAND_STREAM_RECV_DATA</a>,
<a name="l00141"></a>00141 
<a name="l00149"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bae3a51ca82eecd2bc47e748a7845d9396">00149</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bae3a51ca82eecd2bc47e748a7845d9396">COMMAND_PROTOCOL_WRITE_DATA</a>,
<a name="l00150"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba9f9a8d5d0efa046ac18490ef3691978a">00150</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba9f9a8d5d0efa046ac18490ef3691978a">COMMAND_PROTOCOL_READ_DATA</a>,
<a name="l00151"></a>00151 
<a name="l00156"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba0d78b975005b7066be15bce4ad92e135">00156</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba0d78b975005b7066be15bce4ad92e135">COMMAND_PROTOCOL_OPEN</a>,
<a name="l00157"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6babbfafac49286aafd62acc62a1f1a95c4">00157</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6babbfafac49286aafd62acc62a1f1a95c4">COMMAND_PROTOCOL_CLOSE</a>,
<a name="l00158"></a>00158 
<a name="l00166"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bac4f68faa9f3d866213581959da91d085">00166</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6bac4f68faa9f3d866213581959da91d085">COMMAND_PROTOCOL_READ_FEEDBACK</a>,
<a name="l00167"></a>00167 
<a name="l00174"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba8e35f2d71e17347a8eab6278a3d4daae">00174</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba8e35f2d71e17347a8eab6278a3d4daae">COMMAND_AMP_EMBED</a>,
<a name="l00175"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba5dca5151d4b80e7889bc8bd55ccdc523">00175</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba5dca5151d4b80e7889bc8bd55ccdc523">COMMAND_AMP_EXTRACT</a>,
<a name="l00176"></a>00176 
<a name="l00182"></a><a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba5ce5efb26a72464596726511be0b9d4d">00182</a>         <a class="code" href="ui__constants_8h.html#acd67c554fff8ccd1c65044aaf4c8aa6ba5ce5efb26a72464596726511be0b9d4d">COMMAND_NOISE_RECV_AMP</a>,
<a name="l00183"></a>00183 };
<a name="l00184"></a>00184 
<a name="l00185"></a><a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3c">00185</a> <span class="keyword">enum</span> <a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3c">ELogLevel</a>
<a name="l00186"></a>00186 {   
<a name="l00187"></a><a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3cab9f002c6ffbfd511da8090213227454e">00187</a>         <a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3cab9f002c6ffbfd511da8090213227454e">LOG_DEBUG</a> = 1,
<a name="l00188"></a><a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3cac8041ffa22bc823d4726701cdb13fc13">00188</a>         <a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3cac8041ffa22bc823d4726701cdb13fc13">LOG_WARN</a>,
<a name="l00189"></a><a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3ca0b4d9ad891dde7ae8deeb1704195858c">00189</a>         <a class="code" href="ui__constants_8h.html#aa01b2ef0e665c07d46da3a102f120f3ca0b4d9ad891dde7ae8deeb1704195858c">LOG_ERR</a>,
<a name="l00190"></a>00190 };  
<a name="l00191"></a>00191 
<a name="l00192"></a>00192 
<a name="l00193"></a>00193 <span class="preprocessor">#endif</span>
<a name="l00194"></a>00194 <span class="preprocessor"></span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 25 2012 22:00:40 for Whisper by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
